// 角色列表
export interface roleList {
    page?:number;
    page_size?:number;
    role_name?:string;
}

export interface roleItem {
    id:number;
    role_name:string;
    status:boolean;
    order:number;
    role_desc:string;
}

export interface addRoleItem {
    role_id?:number;
    role_name?:string;
    status?:number | boolean;
    order?:number;
    org_code?:number;
}

interface menu {
    code:number;
    parent_id:number;
    org_type:string;
    org_name:string;
}

export interface menuItem {
    code:number;
    parent_id:number;
    org_type?:string;
    org_name?:string;
    children:menu;
}

interface org {
    api_id:number;
    api_path:string;
    code:number;
    data_type:string;
    enable:number;
    is_root_private:number;
    menu_name:string;
    order:number;
    parent_code:number;
    parent_name:string;
}

export interface orgItem {

}

export interface pageItem {
    page:number;
    page_size:number;
    total:number;
}

export interface roleDetail {
    role_id:number;
}

export interface roleUserList {
    role_id:number;
    page:number;
    page_size:number;
    account:string;
    username:string;
}

export interface roleUserItem {
    role_id:number;
    account:[];
}

export interface roleTreeItem {
    role_id:number;
    menu_code?:[];
    org_code?:[];
}